<!DOCTYPE html>
<html lang={{ lang }} dir={{ layout_direction }}>
	<head>
		<meta charset="utf-8">
		<link rel="preconnect" href="https://fonts.gstatic.com" />
		{% for tag in head -%}
			{{ tag | string }}
		{%- endfor %}

		<style>
			body {
				margin: 0 !important;
				border: 0 !important;
				box-sizing: border-box;
				padding: 0mm !important;
			}
			/* Dont show explicit links for <a> tags */
			@media print {
				a[href]:after {
					content: none;
				}
			}
		</style>

		{% for tag in styles -%}
			{{ tag | string }}
		{%- endfor %}
		<link rel="preconnect" href="https://fonts.gstatic.com" />
		{% if html_id=="header-html" %}
		{% if headerFonts %}{{ headerFonts }}{%endif%}
		{% else %}
		{% if footerFonts %}{{ footerFonts }}{%endif%}
		{% endif %}
	</head>
	<body>
		{% for tag in content -%}
			{{ tag | string }}
		{%- endfor %}
		</div>
	</body>
</html>
